[INFO] fetching crate dgraph_query_lib 0.1.0...
[INFO] checking dgraph_query_lib-0.1.0 against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] extracting crate dgraph_query_lib 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate dgraph_query_lib 0.1.0
[INFO] finished tweaking crates.io crate dgraph_query_lib 0.1.0
[INFO] tweaked toml for crates.io crate dgraph_query_lib 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dgraph_query_lib 0.1.0 on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 33 packages to latest compatible versions
[INFO] [stderr]       Adding derive_builder v0.9.0 (available: v0.20.2)
[INFO] [stderr]       Adding itertools v0.9.0 (available: v0.15.0)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.10.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4
[INFO] running `Command { std: "docker" "start" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling derive_builder v0.9.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling derive_builder_core v0.9.0
[INFO] [stderr]     Checking dgraph_query_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::queryblock::QueryBlockType`
[INFO] [stdout]  --> src/tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::queryblock::QueryBlockType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Edge`
[INFO] [stdout]  --> src/tests.rs:3:52
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::predicate::{Predicate, Field, Variable, Edge};
[INFO] [stdout]   |                                                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutation`
[INFO] [stdout]  --> src/tests.rs:8:74
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::mutation::{MutationUnit, MutationUID, MutationPredicateValue, Mutation};
[INFO] [stdout]   |                                                                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/mutation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConditionValue` and `Condition`
[INFO] [stdout]  --> src/mutation.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::condition::{Condition, ConditionValue};
[INFO] [stdout]   |                        ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConditionValue` and `Condition`
[INFO] [stdout]  --> src/tests.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::condition::{Condition, ConditionValue};
[INFO] [stdout]   |                        ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Edge`, `Field`, `Predicate`, and `Variable`
[INFO] [stdout]  --> src/tests.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::predicate::{Predicate, Field, Variable, Edge};
[INFO] [stdout]   |                        ^^^^^^^^^  ^^^^^  ^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EdgeBuilder`, `QueryBlockBuilder`, and `QueryBuilder`
[INFO] [stdout]  --> src/tests.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{QueryBuilder, QueryBlockBuilder, EdgeBuilder};
[INFO] [stdout]   |             ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ToQueryString`
[INFO] [stdout]  --> src/tests.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::ToQueryString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::MutationBuilder`
[INFO] [stdout]  --> src/tests.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::MutationBuilder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/tests.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MutationPredicateValue`, `MutationUID`, `MutationUnit`, and `Mutation`
[INFO] [stdout]  --> src/tests.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::mutation::{MutationUnit, MutationUID, MutationPredicateValue, Mutation};
[INFO] [stdout]   |                       ^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `UpsertBlock` and `Upsert`
[INFO] [stdout]  --> src/tests.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::upsert::{Upsert, UpsertBlock};
[INFO] [stdout]   |                     ^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Indexing`, `PredicateDefinition`, `PredicateType`, `SchemaDefinition`, and `Schema`
[INFO] [stdout]   --> src/tests.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::schema::{Schema, SchemaDefinition, PredicateDefinition, PredicateType, Indexing};
[INFO] [stdout]    |                     ^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/lib.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Itertools`
[INFO] [stdout]  --> src/mutation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use itertools::Itertools;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConditionValue` and `Condition`
[INFO] [stdout]  --> src/mutation.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::condition::{Condition, ConditionValue};
[INFO] [stdout]   |                        ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tests.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let mut schema = Schema::new()
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/schema.rs:39:55
[INFO] [stdout]    |
[INFO] [stdout] 39 |         representation += &predicate_map.iter().map(|(name, pred)| pred.to_string()).join("\n");
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/schema.rs:39:55
[INFO] [stdout]    |
[INFO] [stdout] 39 |         representation += &predicate_map.iter().map(|(name, pred)| pred.to_string()).join("\n");
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.64s
[INFO] running `Command { std: "docker" "inspect" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4", kill_on_drop: false }`
[INFO] [stdout] 24931b4400236f623bb995a0413d23dbd10aac9ded9cfdd04bf2fa4dc801b0e4
